package com.yonyou.pmclouds.plan.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.plan.entity.PlanProgressVO;
import com.yonyou.pmclouds.plan.entity.ScheduleItemVO;
import com.yonyou.pmclouds.plan.entity.ScheduleReportVO;
import com.yonyou.pmclouds.plan.entity.ScheduleVO;

import java.util.List;

public interface IScheduleItemService {

    ScheduleVO insert(ScheduleVO scheduleVO, ScheduleVO origScheduleVO) throws BusinessException;

    ScheduleVO update(ScheduleVO scheduleVO) throws BusinessException;

    ScheduleVO delete(ScheduleVO scheduleVO) throws BusinessException;

    ScheduleItemVO[] insert(ScheduleItemVO[] scheduleItemVOS) throws BusinessException;

    ScheduleItemVO[] update(ScheduleItemVO[] scheduleItemVOS) throws BusinessException;

    ScheduleItemVO[] delete(ScheduleItemVO[] scheduleItemVOS) throws BusinessException;

    ScheduleReportVO updateProgress(ScheduleReportVO reportVO) throws BusinessException;

    ScheduleVO updateForAdjust(ScheduleVO scheduleVO, ScheduleVO origScheduleVO) throws BusinessException;

}
